package com.njl.dao.impl;

import org.hibernate.Query;
import org.springframework.stereotype.Repository;

import com.njl.dao.UsersDao;
import com.njl.entity.OrdinaryUsers;
import com.njl.entity.User;
import com.syb.util.BaseDao;
@Repository
public class UsersDaoImpl extends BaseDao implements UsersDao {
	@Override
	public String registerUser(User user) throws Exception {
		super.save(user);
		return "success";
	}


}
